package com.yunji.storage.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.vo
 * @Title: TreeVO
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-23 14:08:07      V1.0        HuaAo       新建类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TreeVO implements Serializable {

    private static final long serialVersionUID = 4715526246300867908L;

    @ApiModelProperty("所属ID")
    private Long belongId;

    @ApiModelProperty("所属名称")
    private String belongName;

    @ApiModelProperty("父级ID")
    private Long parentId;

    @ApiModelProperty("所属类型")
    private String belongType;

    @ApiModelProperty("子集列表")
    private List<TreeVO> list;

}